# coding=utf-8
"""
    通用路径处理
"""
import os.path

# @Time    :  2024-10-17 11:20:50
# @Author  :  jiangtong
# @Email   :  gingerqgyy@outlook.com
# @Project :  ginger_yl_test_boost
# @File    :  path_util


# 项目路径 :
PROJECT_PATH = os.path.dirname(os.path.dirname(__file__))

# 项目内路径 :
LOG_PATH = os.sep.join([PROJECT_PATH, 'static', 'logs'])
CONF_FOLDER = os.sep.join([PROJECT_PATH, 'static', 'confs'])

if __name__ == '__main__':
    def p(_path):
        print(_path, '-->', os.path.exists(_path))


    p(PROJECT_PATH)
    p(LOG_PATH)
